<ui:composition  xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:p="http://primefaces.org/ui"> 


<p:megaMenu orientation="horizontal" style="margin-top:20px">
    <p:submenu label="Cadastro" icon="ui-icon-document">
        <p:column>
            <p:submenu label="Aluno">
                <p:menuitem value="Novo aluno" url="cadAluno.xhtml" />
                <p:menuitem value="Aluno no projeto" url="#" />
            </p:submenu>
            <p:submenu label="Projeto">
                <p:menuitem value="Novo projeto" url="#" />
                <p:menuitem value="Calendário do projeto" url="#" />
                <p:menuitem value="Tarefas do projeto" url="#" />
            </p:submenu>
            <p:submenu label="Professor">
                <p:menuitem value="Novo professor" url="#" />
                <p:menuitem value="Professor no projeto" url="#" />
            </p:submenu>
        </p:column>
    </p:submenu>
 
    <p:submenu label="Gerenciar" icon="ui-icon-document">
 
        <p:column>
            <p:submenu label="Alunos">
                <p:menuitem value="Alterar aluno" url="#" />
                <p:menuitem value="Excluir aluno" url="#" />
                <p:menuitem value="Listar alunos" url="#" />
                
            </p:submenu>
            <p:submenu label="Projetos">
                <p:menuitem value="Alterar projeto" url="#" />
                <p:menuitem value="Listar projeto" url="#" />
                <p:menuitem value="Visualizar projeto" url="#" />
                <p:menuitem value="Visualizar tarefas" url="#" />
                <p:menuitem value="Visualizar calendário" url="#" />
                
            </p:submenu>
   
            <p:submenu label="Professores">
                <p:menuitem value="Alterar professor" url="#" />
                <p:menuitem value="Excluir professor" url="#" />
                <p:menuitem value="Listar professores" url="#" />
                
            </p:submenu>
            
        </p:column>
        
    </p:submenu>
 
    <p:submenu label="Entertainment" icon="ui-icon-pencil">
        <p:column>
            <p:submenu label="Entertainment.1">
                <p:menuitem value="Entertainment.1.1" url="#" />
                <p:menuitem value="Entertainment.1.2" url="#" />
            </p:submenu>
            <p:submenu label="Entertainment.2">
                <p:menuitem value="Entertainment.2.1" url="#" />
                <p:menuitem value="Entertainment.2.2" url="#" />
                <p:menuitem value="Entertainment.2.3" url="#" />
            </p:submenu>
        </p:column>
 
        <p:column>
            <p:submenu label="Entertainment.4" icon="ui-icon-help">
                <p:menuitem value="Entertainment.4.1" url="#" />
                <p:menuitem value="Entertainment.4.2" url="#" />
            </p:submenu>
            <p:submenu label="Entertainment.5">
                <p:menuitem value="Entertainment.5.1" url="#" />
                <p:menuitem value="Entertainment.5.2" url="#" />
                <p:menuitem value="Entertainment.5.3" url="#" />
            </p:submenu>
        </p:column>
    </p:submenu>
 
    <p:submenu label="Tech" icon="ui-icon-contact">
        <p:column>
            <p:submenu label="Tech.1">
                <p:menuitem value="Tech.1.1" url="#" />
                <p:menuitem value="Tech.1.2" url="#" />
            </p:submenu>
            <p:submenu label="Tech.2">
                <p:menuitem value="Tech.2.1" url="#" />
                <p:menuitem value="Tech.2.2" url="#" />
                <p:menuitem value="Tech.2.3" url="#" />
            </p:submenu>
        </p:column>
 
        <p:column>
            <p:submenu label="Tech.4">
                <p:menuitem value="Tech.4.1" url="#" />
                <p:menuitem value="Tech.4.2" url="#" />
            </p:submenu>
        </p:column>
    </p:submenu>
 
    <p:menuitem value="Quit" url="http://www.primefaces.org" icon="ui-icon-close" />
</p:megaMenu>
</ui:composition>
